package com.cnap.multiclouldmgmt.model.scale.policy;

import io.swagger.annotations.ApiModelProperty;

/**
 * <类文件描述>
 *
 * @author xc
 **/
public class ScalingPolicyVO {
    private String policyId;
    @ApiModelProperty(value = "监控周期（分钟）")
    private int duration;
    @ApiModelProperty(value = "连续出现次数")
    private int continuousNum;
    @ApiModelProperty(value = "冷却时间（秒）")
    private int coolTime;
    @ApiModelProperty(value = "扩缩容类型，min:缩容，max:扩容")
    private String type;
    @ApiModelProperty(value = "扩缩容数量")
    private int num;
    @ApiModelProperty(value = "资源，cpu，memory")
    private String resource;
    @ApiModelProperty(value = "值，百分数")
    private int value;

    /**
     * get
     *
     * @return PolicyId
     */
    public String getPolicyId() {
        return policyId;
    }

    /**
     * set
     *
     * @param policyId policyId
     */
    public void setPolicyId(String policyId) {
        this.policyId = policyId;
    }

    /**
     * get
     *
     * @return Duration
     */
    public int getDuration() {
        return duration;
    }

    /**
     * set
     *
     * @param duration duration
     */
    public void setDuration(int duration) {
        this.duration = duration;
    }

    /**
     * get
     *
     * @return ContinuousNum
     */
    public int getContinuousNum() {
        return continuousNum;
    }

    /**
     * set
     *
     * @param continuousNum continuousNum
     */
    public void setContinuousNum(int continuousNum) {
        this.continuousNum = continuousNum;
    }

    /**
     * get
     *
     * @return CoolTime
     */
    public int getCoolTime() {
        return coolTime;
    }

    /**
     * set
     *
     * @param coolTime coolTime
     */
    public void setCoolTime(int coolTime) {
        this.coolTime = coolTime;
    }

    /**
     * get
     *
     * @return Type
     */
    public String getType() {
        return type;
    }

    /**
     * set
     *
     * @param type type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * get
     *
     * @return Num
     */
    public int getNum() {
        return num;
    }

    /**
     * set
     *
     * @param num num
     */
    public void setNum(int num) {
        this.num = num;
    }

    /**
     * get
     *
     * @return Resource
     */
    public String getResource() {
        return resource;
    }

    /**
     * set
     *
     * @param resource resource
     */
    public void setResource(String resource) {
        this.resource = resource;
    }

    /**
     * get
     *
     * @return Value
     */
    public int getValue() {
        return value;
    }

    /**
     * set
     *
     * @param value value
     */
    public void setValue(int value) {
        this.value = value;
    }
}
